Skip to contentSkip to conversation

SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85

lm-sensors Andrew Voznytsa 4 participants 23 messages Jan 14, 2008 – Feb 6, 2008

lore
Share & tools
lore
#0 lore raw

More information on topic:

I found http://www.lm-sensors.org/ticket/2195 which is related to my problem
- looked over sensors-detect output and found

Some Super I/O chips may also contain sensors. We have to write to

standard I/O ports to probe them. This is usually safe.

Do you want to scan for Super I/O sensors? (YES/no):

Probing for Super-I/O at 0x2e/0x2f

Trying family `National Semiconductor'... No

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'... No

Trying family `SMSC'... No

Trying family `VIA/Winbond/Fintek'... No

Trying family `ITE'... No

So is not this unknown chip with ID 0x8902 what is missing to support fans 5/6/etc? If yes - could someone drop some light on topic when to expect it supported?

Thanks,
Andrew Voznytsa

_____

From: Andrew Voznytsa [mailto:[email protected]]
Sent: Sunday, January 13, 2008 12:28 AM
To: '[email protected]'
Subject: lm85 in Intel S3000AH case

Hi guys,

Just installed lm-sensors (2.10.4 and 3.0.0) on S3000AH-based system (Linux version 2.6.23-gentoo-r3 (root@farm) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0

.2)), x86_64) - works fine except lm-sensors does not show fans 5 and 6. Is it fixable? (I'd leave my chassis fan connected to 5th socket and do not reconnect it to 2-4)

Here is part of sensors-detect output

Detects correctly:

* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e

    Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

And sensors output:

lm85-i2c-0-2e

Adapter: SMBus I801 adapter at 3000

V1.5: +2.29 V (min = +0.00 V, max = +3.32 V)

VCore: +1.14 V (min = +0.00 V, max = +2.99 V)

V3.3: +3.35 V (min = +0.00 V, max = +4.38 V)

V5: +1.51 V (min = +0.00 V, max = +6.64 V)

V12: +12.81 V (min = +0.00 V, max = +15.94 V)

CPU_Fan: 1769 RPM (min = 720 RPM)

fan2: 0 RPM (min = 720 RPM)

fan3: 0 RPM (min = 720 RPM)

fan4: 0 RPM (min = 720 RPM)

CPU Temp: -63.0 C (low = -127.0 C, high = +127.0 C)

Board Temp: +39.0 C (low = -127.0 C, high = +127.0 C)

DIMM Temp: +29.0 C (low = -127.0 C, high = +127.0 C)

cpu0_vid: +0.000 V

Best regards,
Andrew Voznytsa

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

It is also possible that those fans are not monitored.

Is there some indication in the manual or BIOS that these fans are monitored?

You should try plugging a fan into each fan header and see which ones are attached to which sensor inputs. The labels in sensors.conf are only a guide and not specific for your motherboard.

Phil P.

Signature · 3 lines
Philip Pokorny, RHCE
Director of Field Engineering 
Penguin Computing  http://www.penguincomputing.com

-----Original Message-----
From: Andrew Voznytsa [mailto:[email protected]]
Sent: Monday, January 14, 2008 06:49 AM Pacific Standard Time
To: [email protected]
Subject: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85in Intel S3000AH case)

More information on topic:

I found http://www.lm-sensors.org/ticket/2195 which is related to my problem
- looked over sensors-detect output and found

Some Super I/O chips may also contain sensors. We have to write to

standard I/O ports to probe them. This is usually safe.

Do you want to scan for Super I/O sensors? (YES/no):

Probing for Super-I/O at 0x2e/0x2f

Trying family `National Semiconductor'... No

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'... No

Trying family `SMSC'... No

Trying family `VIA/Winbond/Fintek'... No

Trying family `ITE'... No

So is not this unknown chip with ID 0x8902 what is missing to support fans 5/6/etc? If yes - could someone drop some light on topic when to expect it supported?

Thanks,
Andrew Voznytsa

_____

From: Andrew Voznytsa [mailto:[email protected]]
Sent: Sunday, January 13, 2008 12:28 AM
To: '[email protected]'
Subject: lm85 in Intel S3000AH case

Hi guys,

Just installed lm-sensors (2.10.4 and 3.0.0) on S3000AH-based system (Linux version 2.6.23-gentoo-r3 (root@farm) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0

.2)), x86_64) - works fine except lm-sensors does not show fans 5 and 6. Is it fixable? (I'd leave my chassis fan connected to 5th socket and do not reconnect it to 2-4)

Here is part of sensors-detect output

Detects correctly:

* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e

    Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

And sensors output:

lm85-i2c-0-2e

Adapter: SMBus I801 adapter at 3000

V1.5: +2.29 V (min = +0.00 V, max = +3.32 V)

VCore: +1.14 V (min = +0.00 V, max = +2.99 V)

V3.3: +3.35 V (min = +0.00 V, max = +4.38 V)

V5: +1.51 V (min = +0.00 V, max = +6.64 V)

V12: +12.81 V (min = +0.00 V, max = +15.94 V)

CPU_Fan: 1769 RPM (min = 720 RPM)

fan2: 0 RPM (min = 720 RPM)

fan3: 0 RPM (min = 720 RPM)

fan4: 0 RPM (min = 720 RPM)

CPU Temp: -63.0 C (low = -127.0 C, high = +127.0 C)

Board Temp: +39.0 C (low = -127.0 C, high = +127.0 C)

DIMM Temp: +29.0 C (low = -127.0 C, high = +127.0 C)

cpu0_vid: +0.000 V

Best regards,
Andrew Voznytsa

#2 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 4 lines · Andrew Voznytsa

More information on topic:

I found http://www.lm-sensors.org/ticket/2195 which is related to my problem
- looked over sensors-detect output and found

Interesting... The reporter of ticket 2195 claims his board is the same like yours yet his SMSC chip has a different device ID. Maybe yours is something compatible to the dme1737...

Quoted 6 lines

Some Super I/O chips may also contain sensors. We have to write to

standard I/O ports to probe them. This is usually safe.

Do you want to scan for Super I/O sensors? (YES/no):

Quoted 7 lines

Probing for Super-I/O at 0x2e/0x2f

Trying family `National Semiconductor'... No

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip so that we know what we're dealing with? From the product picture my guess is it's the chip in the QFP package close to the IDE connector. It should read something like SMSC xyz.

...juerg

Quoted 85 lines

Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'... No

Trying family `SMSC'... No

Trying family `VIA/Winbond/Fintek'... No

Trying family `ITE'... No

So is not this unknown chip with ID 0x8902 what is missing to support fans 5/6/etc? If yes - could someone drop some light on topic when to expect it supported?

Thanks,
Andrew Voznytsa

_____

From: Andrew Voznytsa [mailto:[email protected]]
Sent: Sunday, January 13, 2008 12:28 AM
To: '[email protected]'
Subject: lm85 in Intel S3000AH case

Hi guys,

Just installed lm-sensors (2.10.4 and 3.0.0) on S3000AH-based system (Linux version 2.6.23-gentoo-r3 (root@farm) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0

.2)), x86_64) - works fine except lm-sensors does not show fans 5 and 6. Is it fixable? (I'd leave my chassis fan connected to 5th socket and do not reconnect it to 2-4)

Here is part of sensors-detect output

Detects correctly:

* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e

    Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

And sensors output:

lm85-i2c-0-2e

Adapter: SMBus I801 adapter at 3000

V1.5: +2.29 V (min = +0.00 V, max = +3.32 V)

VCore: +1.14 V (min = +0.00 V, max = +2.99 V)

V3.3: +3.35 V (min = +0.00 V, max = +4.38 V)

V5: +1.51 V (min = +0.00 V, max = +6.64 V)

V12: +12.81 V (min = +0.00 V, max = +15.94 V)

CPU_Fan: 1769 RPM (min = 720 RPM)

fan2: 0 RPM (min = 720 RPM)

fan3: 0 RPM (min = 720 RPM)

fan4: 0 RPM (min = 720 RPM)

CPU Temp: -63.0 C (low = -127.0 C, high = +127.0 C)

Quoted 12 lines

Board Temp: +39.0 C (low = -127.0 C, high = +127.0 C)

DIMM Temp: +29.0 C (low = -127.0 C, high = +127.0 C)

cpu0_vid: +0.000 V

Best regards,
Andrew Voznytsa

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

Quoted 9 lines
Quoted 4 lines

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip so that we know what we're dealing with? From the product picture my guess is it's the chip in the QFP package close to the IDE connector. It should read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might be 0)-NW

According to spec which comes with MB it should be SMSC SC-5027D

Thanks, Andrew.

Quoted 41 lines

...juerg

Quoted 6 lines

Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'... No

Trying family `SMSC'... No

Quoted 7 lines

Trying family `VIA/Winbond/Fintek'... No

Trying family `ITE'... No

So is not this unknown chip with ID 0x8902 what is missing to support

fans

Quoted 1 line

5/6/etc? If yes - could someone drop some light on topic when to expect

it

Quoted 20 lines

supported?

Thanks,
Andrew Voznytsa

_____

From: Andrew Voznytsa [mailto:[email protected]]
Sent: Sunday, January 13, 2008 12:28 AM
To: '[email protected]'
Subject: lm85 in Intel S3000AH case

Hi guys,

Quoted 66 lines
Quoted 1 line

Just installed lm-sensors (2.10.4 and 3.0.0) on S3000AH-based system

(Linux

Quoted 1 line

version 2.6.23-gentoo-r3 (root@farm) (gcc version 4.1.2 (Gentoo 4.1.2

p1.0

Quoted 2 lines

.2)), x86_64) - works fine except lm-sensors does not show fans 5 and 6.

Is

Quoted 59 lines

it fixable? (I'd leave my chassis fan connected to 5th socket and do not reconnect it to 2-4)

Here is part of sensors-detect output

Detects correctly:

* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e

    Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

And sensors output:

lm85-i2c-0-2e

Adapter: SMBus I801 adapter at 3000

V1.5: +2.29 V (min = +0.00 V, max = +3.32 V)

VCore: +1.14 V (min = +0.00 V, max = +2.99 V)

V3.3: +3.35 V (min = +0.00 V, max = +4.38 V)

V5: +1.51 V (min = +0.00 V, max = +6.64 V)

V12: +12.81 V (min = +0.00 V, max = +15.94 V)

CPU_Fan: 1769 RPM (min = 720 RPM)

fan2: 0 RPM (min = 720 RPM)

fan3: 0 RPM (min = 720 RPM)

fan4: 0 RPM (min = 720 RPM)

CPU Temp: -63.0 C (low = -127.0 C, high = +127.0 C)

Board Temp: +39.0 C (low = -127.0 C, high = +127.0 C)

DIMM Temp: +29.0 C (low = -127.0 C, high = +127.0 C)

cpu0_vid: +0.000 V

Best regards,
Andrew Voznytsa

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 7 lines · Andrew Voznytsa

Hi Juerg,

Quoted 5 lines
Quoted 4 lines

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

Quoted 8 lines
Quoted 4 lines

This is indeed unknown. Can you check the markings on the chip so that we know what we're dealing with? From the product picture my guess is it's the chip in the QFP package close to the IDE connector. It should read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might be 0)-NW

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

...juerg

Quoted 112 lines

Thanks, Andrew.

Quoted 107 lines

...juerg

Quoted 6 lines

Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'... No

Trying family `SMSC'... No

Quoted 7 lines

Trying family `VIA/Winbond/Fintek'... No

Trying family `ITE'... No

So is not this unknown chip with ID 0x8902 what is missing to support

fans

Quoted 1 line

5/6/etc? If yes - could someone drop some light on topic when to expect

it

Quoted 16 lines

supported?

Thanks,
Andrew Voznytsa

_____

From: Andrew Voznytsa [mailto:[email protected]]
Sent: Sunday, January 13, 2008 12:28 AM
To: '[email protected]'
Subject: lm85 in Intel S3000AH case

Quoted 5 lines

Hi guys,

Just installed lm-sensors (2.10.4 and 3.0.0) on S3000AH-based system

(Linux

Quoted 1 line

version 2.6.23-gentoo-r3 (root@farm) (gcc version 4.1.2 (Gentoo 4.1.2

p1.0

Quoted 2 lines

.2)), x86_64) - works fine except lm-sensors does not show fans 5 and 6.

Is

Quoted 59 lines

it fixable? (I'd leave my chassis fan connected to 5th socket and do not reconnect it to 2-4)

Here is part of sensors-detect output

Detects correctly:

* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e

    Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

And sensors output:

lm85-i2c-0-2e

Adapter: SMBus I801 adapter at 3000

V1.5: +2.29 V (min = +0.00 V, max = +3.32 V)

VCore: +1.14 V (min = +0.00 V, max = +2.99 V)

V3.3: +3.35 V (min = +0.00 V, max = +4.38 V)

V5: +1.51 V (min = +0.00 V, max = +6.64 V)

V12: +12.81 V (min = +0.00 V, max = +15.94 V)

CPU_Fan: 1769 RPM (min = 720 RPM)

fan2: 0 RPM (min = 720 RPM)

fan3: 0 RPM (min = 720 RPM)

fan4: 0 RPM (min = 720 RPM)

CPU Temp: -63.0 C (low = -127.0 C, high = +127.0 C)

Board Temp: +39.0 C (low = -127.0 C, high = +127.0 C)

DIMM Temp: +29.0 C (low = -127.0 C, high = +127.0 C)

cpu0_vid: +0.000 V

Best regards,
Andrew Voznytsa

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#5 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 3 lines

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip so that we know what we're dealing with? From the product picture my guess is it's the chip in the QFP package close to the IDE connector. It should read something like SMSC xyz.

Quoted 7 lines
Quoted 3 lines

There is chip marked SMSC SCH-5027D(not sure that D, might be 0)-NW

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Thanks for your time,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#6 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 22 lines · Andrew Voznytsa

Hi Juerg,

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 3 lines

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip so that we know what we're dealing with? From the product picture my guess is it's the chip in the QFP package close to the IDE connector. It should read something like SMSC xyz.

Quoted 7 lines
Quoted 3 lines

There is chip marked SMSC SCH-5027D(not sure that D, might be 0)-NW

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

Of course - here is output:

Quoted 9 lines

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

OK, I figured it out, I believe :-) I received the datasheet for the SCH5027 from SMSC and after a quick glance at it, it looks like the hardware monitoring features of the DME1737, SCH5027 and EMC6D10x are identical but they advertise themselves differently. In your case, the chip is detected as a EMC6D10x and sensors-detect suggests the lm85 driver. However, I believe the dme1737 driver is more appropriate. I will take a closer look at the various datasheets over the next couple of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the mailing list

Note that the SCH5027 only supports 4 fans, so you won't see fan5&6. How many fans do you have in the machine? Can you see RPMs for all of them in the BIOS?

...juerg

Quoted 5 lines

Thanks for your time,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#7 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

Quoted 33 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip so

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product picture my guess

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE connector. It

should

Quoted 13 lines
Quoted 9 lines
Quoted 5 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might be 0)-NW

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

Of course - here is output:

Quoted 9 lines

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 13 lines

OK, I figured it out, I believe :-) I received the datasheet for the SCH5027 from SMSC and after a quick glance at it, it looks like the hardware monitoring features of the DME1737, SCH5027 and EMC6D10x are identical but they advertise themselves differently. In your case, the chip is detected as a EMC6D10x and sensors-detect suggests the lm85 driver. However, I believe the dme1737 driver is more appropriate. I will take a closer look at the various datasheets over the next couple of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the mailing list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO for optional
features.
Jan 18 16:09:12 farm dme1737 0-002e: Optional features: pwm3=yes, pwm5=no,
pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at 0x2e (rev

0x00)

Quoted 4 lines

Note that the SCH5027 only supports 4 fans, so you won't see fan5&6. How many fans do you have in the machine? Can you see RPMs for all of them in the BIOS?

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected as Intel's manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5 and zero for rest (nothing attached there). BIOS is able to control RPMs itself, depending on CPU, chassis and DIMM temperature sensors.

Many thanks for looking on it,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#8 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 50 lines · Andrew Voznytsa

Hi Juerg,

Quoted 33 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

Trying family `SMSC'... Yes

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip so

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product picture my guess

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE connector. It

should

Quoted 13 lines
Quoted 9 lines
Quoted 5 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might be 0)-NW

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

Of course - here is output:

Quoted 9 lines

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 13 lines

OK, I figured it out, I believe :-) I received the datasheet for the SCH5027 from SMSC and after a quick glance at it, it looks like the hardware monitoring features of the DME1737, SCH5027 and EMC6D10x are identical but they advertise themselves differently. In your case, the chip is detected as a EMC6D10x and sensors-detect suggests the lm85 driver. However, I believe the dme1737 driver is more appropriate. I will take a closer look at the various datasheets over the next couple of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the mailing list

Quoted 4 lines

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO for optional

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 2 lines
Jan 18 16:09:12 farm dme1737 0-002e: Optional features: pwm3=yes, pwm5=no,

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once the driver is fixed to recognize the SCH5027.

Quoted 7 lines
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at 0x2e (rev

0x00)

Quoted 4 lines

Note that the SCH5027 only supports 4 fans, so you won't see fan5&6. How many fans do you have in the machine? Can you see RPMs for all of them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just like the dme1737.

Quoted 6 lines

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected as Intel's manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5 and zero for rest (nothing attached there). BIOS is able to control RPMs itself, depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

...juerg

Quoted 5 lines

Many thanks for looking on it,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#9 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

Quoted 90 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product picture my

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE connector.

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might be

0)-NW

Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 6 lines
Quoted 2 lines

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 12 lines
Quoted 4 lines

OK, I figured it out, I believe :-) I received the datasheet for the SCH5027 from SMSC and after a quick glance at it, it looks like the hardware monitoring features of the DME1737, SCH5027 and EMC6D10x are identical but they advertise themselves differently. In your case, the

Quoted 8 lines

chip is detected as a EMC6D10x and sensors-detect suggests the lm85 driver. However, I believe the dme1737 driver is more appropriate. I will take a closer look at the various datasheets over the next couple of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO for

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features: pwm3=yes,

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once the driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at 0x2e

(rev

Quoted 6 lines

0x00)

Quoted 4 lines

Note that the SCH5027 only supports 4 fans, so you won't see fan5&6. How many fans do you have in the machine? Can you see RPMs for all of them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just like the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected as

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5 and

Quoted 9 lines

zero

Quoted 2 lines

for rest (nothing attached there). BIOS is able to control RPMs itself, depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

Just let me know if I can help with testing - I can't give access to my S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#10 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902

In reply to Andrew Voznytsa

Hi Juerg,

Quoted 4 lines · Juerg Haefliger

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

You may be interested in the following recipe then:

* Have Andrew send you a dump of his chip:
i2cdump 0 0x2e b > sch5027.dump

* Download and run my i2c-stub-from-dump script on it:
http://www.lm-sensors.org/browser/i2c-tools/trunk/stub/i2c-stub-from-dump

Syntax:
i2c-stub-from-dump 0x2e sch5027.dump
You'll need the "i2c-stub" kernel driver and the "i2cset" helper.

Then you have an emulated chip to play with. It should let you test things like device detection, value register reads, etc.

It's always better to have a real device of course, but I still find i2c-stub very helpful when I need to touch drivers for SMBus devices I don't own.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#11 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902

In reply to Andrew Voznytsa

Hi Jean, Juerg,

Quoted 10 lines · Juerg Haefliger
Quoted 4 lines

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

You may be interested in the following recipe then:

* Have Andrew send you a dump of his chip:
i2cdump 0 0x2e b > sch5027.dump

Dump attached.

Best regards,
Andrew Voznytsa

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#12 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902

In reply to Andrew Voznytsa

Hi Jean,

Quoted 20 lines · Jean Delvare

Hi Juerg,

Quoted 4 lines · Juerg Haefliger

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

You may be interested in the following recipe then:

* Have Andrew send you a dump of his chip:
i2cdump 0 0x2e b > sch5027.dump

* Download and run my i2c-stub-from-dump script on it:
http://www.lm-sensors.org/browser/i2c-tools/trunk/stub/i2c-stub-from-dump

Syntax:
i2c-stub-from-dump 0x2e sch5027.dump
You'll need the "i2c-stub" kernel driver and the "i2cset" helper.

Quoted 6 lines

Then you have an emulated chip to play with. It should let you test things like device detection, value register reads, etc.

It's always better to have a real device of course, but I still find i2c-stub very helpful when I need to touch drivers for SMBus devices I don't own.

Very good! I'll give it a try, sounds very useful.

...juerg

Quoted 3 lines

--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#13 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

Quoted 103 lines · Andrew Voznytsa

Hi Juerg,

Quoted 90 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the chip

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product picture my

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE connector.

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might be

0)-NW

Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 6 lines
Quoted 2 lines

According to spec which comes with MB it should be SMSC SC-5027D

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 12 lines
Quoted 4 lines

OK, I figured it out, I believe :-) I received the datasheet for the SCH5027 from SMSC and after a quick glance at it, it looks like the hardware monitoring features of the DME1737, SCH5027 and EMC6D10x are identical but they advertise themselves differently. In your case, the

Quoted 8 lines

chip is detected as a EMC6D10x and sensors-detect suggests the lm85 driver. However, I believe the dme1737 driver is more appropriate. I will take a closer look at the various datasheets over the next couple of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO for

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features: pwm3=yes,

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once the driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at 0x2e

(rev

Quoted 6 lines

0x00)

Quoted 4 lines

Note that the SCH5027 only supports 4 fans, so you won't see fan5&6. How many fans do you have in the machine? Can you see RPMs for all of them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just like the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected as

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5 and

Quoted 9 lines

zero

Quoted 2 lines

for rest (nothing attached there). BIOS is able to control RPMs itself, depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

Quoted 8 lines

Just let me know if I can help with testing - I can't give access to my S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#14 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

Of course - works perfectly. It said

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if all fans are monitored now? If there is such - could you send me URL?

Many thanks,
Andrew Voznytsa

Quoted 120 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product picture

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE

connector.

Quoted 5 lines
Quoted 5 lines

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should be SMSC SC-

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the datasheet for

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it looks like

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027 and EMC6D10x

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently. In your case,

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect suggests the

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more appropriate.

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over the next

couple

Quoted 27 lines
Quoted 27 lines
Quoted 5 lines
Quoted 5 lines

of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO for

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features: pwm3=yes,

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once the driver is fixed to recognize the SCH5027.

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at 0x2e

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you won't see

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see RPMs for all

of

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just like the dme1737.

Quoted 24 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected as

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5 and

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to control RPMs

itself,

Quoted 16 lines
Quoted 7 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

Just let me know if I can help with testing - I can't give access to my S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#15 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Of course - works perfectly. It said

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an I2C device. Can you post the complete log?

Quoted 4 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if all fans are monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which is part of the kernel, not lm-sensors.

...juerg

Quoted 152 lines

Many thanks,
Andrew Voznytsa

Quoted 144 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on the

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product picture

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE

connector.

Quoted 5 lines
Quoted 5 lines

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D, might

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should be SMSC SC-

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the datasheet for

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it looks like

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027 and EMC6D10x

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently. In your case,

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect suggests the

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more appropriate.

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over the next

couple

Quoted 27 lines
Quoted 27 lines
Quoted 5 lines
Quoted 5 lines

of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to the

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO for

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features: pwm3=yes,

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once the driver is fixed to recognize the SCH5027.

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at 0x2e

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you won't see

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see RPMs for all

of

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just like the dme1737.

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected as

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5 and

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to control RPMs

itself,

Quoted 16 lines
Quoted 7 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are indeed compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to wait until then.

Just let me know if I can help with testing - I can't give access to my S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#16 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa
# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): no If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0) Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver lm85' (already loaded), chip type lm85' Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Here it is. I'd notice that I used 2.6.23-gentoo-r3 kernel with builtin lm85 driver. If you need I can easily build any other kernel with any drivers/etc.

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 196 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 6:08 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Of course - works perfectly. It said

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an I2C device. Can you post the complete log?

Quoted 3 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if all fans

are

Quoted 1 line

monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which is part of the kernel, not lm-sensors.

...juerg

Quoted 33 lines

Many thanks,
Andrew Voznytsa

Quoted 27 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on

the

Quoted 4 lines
Quoted 4 lines

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product

picture

Quoted 10 lines
Quoted 10 lines

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE

connector.

Quoted 5 lines
Quoted 5 lines

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D,

might

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should be SMSC

SC-

Quoted 19 lines
Quoted 19 lines

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the datasheet

for

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it looks

like

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027 and

EMC6D10x

Quoted 2 lines
Quoted 2 lines

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently. In your

case,

Quoted 4 lines
Quoted 4 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect suggests the

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more

appropriate.

Quoted 2 lines
Quoted 2 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over the

next

Quoted 6 lines
Quoted 6 lines

couple

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to

the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO

for

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features:

pwm3=yes,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at

0x2e

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you won't see

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see RPMs for

all

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just

like

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected

as

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5

and

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to control RPMs

itself,

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are

indeed

Quoted 17 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to

wait

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

until then.

Just let me know if I can help with testing - I can't give access to

my

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#17 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 51 lines · Andrew Voznytsa
# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): no If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0) Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver lm85' (already loaded), chip type lm85' Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
Quoted 6 lines

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Here it is. I'd notice that I used 2.6.23-gentoo-r3 kernel with builtin lm85 driver. If you need I can easily build any other kernel with any drivers/etc.

Ah yes, that explains why the SCH5027 is not detected here. If you have the time and care about it you can rebuild a kernel without the builtin lm85 and rerun the attached sensors-detect. It should then suggest the dme1737 driver for your chip. Anyways, I tested the modified script with the dump file that you provided and the i2c-stub driver so I'm confident it works correctly. I'll submit a patch for sensors-detect shortly...

...juerg

Quoted 67 lines

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
Quoted 225 lines

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 214 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 6:08 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Of course - works perfectly. It said

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an I2C device. Can you post the complete log?

Quoted 3 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if all fans

are

Quoted 1 line

monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which is part of the kernel, not lm-sensors.

...juerg

Quoted 33 lines

Many thanks,
Andrew Voznytsa

Quoted 27 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings on

the

Quoted 4 lines
Quoted 4 lines

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product

picture

Quoted 10 lines
Quoted 10 lines

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE

connector.

Quoted 5 lines
Quoted 5 lines

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D,

might

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should be SMSC

SC-

Quoted 19 lines
Quoted 19 lines

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the datasheet

for

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it looks

like

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027 and

EMC6D10x

Quoted 2 lines
Quoted 2 lines

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently. In your

case,

Quoted 4 lines
Quoted 4 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect suggests the

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more

appropriate.

Quoted 2 lines
Quoted 2 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over the

next

Quoted 6 lines
Quoted 6 lines

couple

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

of days to confirm my theory. In the meantime, you can try the following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737 force=0,0x2e)
3) post the dme1737-related messages in /var/log/messages to

the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-IO

for

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the SCH5027 Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features:

pwm3=yes,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available once

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip at

0x2e

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you won't see

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see RPMs for

all

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans, just

like

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are connected

as

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for fans1, 5

and

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to control RPMs

itself,

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are

indeed

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

compatible, I'll fix the dme1737 driver to support the sch5027. I don't have access to a test machine until next week, so it has to

wait

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

until then.

Just let me know if I can help with testing - I can't give access to

my

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#18 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

It is easy (around 1 min to compile kernel, so why not?). New output is below. Quick summary - works as you said.

# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e

Probing for `Myson MTP008'...                               No
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM78-J'...              No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `National Semiconductor LM85 or LM96000'...     No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'...        No
Probing for `Analog Devices ADT7462'...                     No
Probing for `Analog Devices ADT7467 or ADT7468'...          No
Probing for `Analog Devices ADT7470'...                     No
Probing for `Analog Devices ADT7473'...                     No
Probing for `Analog Devices ADT7475'...                     No
Probing for `Analog Devices ADT7476'...                     No
Probing for `Andigilog aSC7611'...                          No
Probing for `Andigilog aSC7621'...                          No
Probing for `National Semiconductor LM87'...                No
Probing for `National Semiconductor LM93'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83792D'...                            No
Probing for `Winbond W83793R/G'...                          No
Probing for `Winbond W83791SD'...                           No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG'...                          No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Winbond W83L786NR/NG/R/G'...                   No
Probing for `Winbond W83L785TS-S'...                        No
Probing for `Analog Devices ADM9240'...                     No
Probing for `Dallas Semiconductor DS1780'...                No
Probing for `National Semiconductor LM81'...                No
Probing for `Analog Devices ADM1026'...                     No
Probing for `Analog Devices ADM1025'...                     No
Probing for `Analog Devices ADM1029'...                     No
Probing for `Analog Devices ADM1030'...                     No
Probing for `Analog Devices ADM1031'...                     No
Probing for `Analog Devices ADM1022'...                     No
Probing for `Texas Instruments THMC50'...                   No
Probing for `Analog Devices ADM1028'...                     No
Probing for `ITE IT8712F'...                                No
Probing for `SMSC DME1737'...                               No
Probing for `SMSC SCH5027D-NW'...                           Success!
    (confidence 6, driver `dme1737')
Probing for `Fintek F75373S/SG'...                          No
Probing for `Fintek F75375S/SP'...                          No
Probing for `Fintek F75387SG/RG'...                         No
Probing for `Analog Devices ADM1024'...                     No
Probing for `Winbond W83791D'...                            No
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `dme1737' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC SCH5027D-NW' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe dme1737
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 379 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 8:20 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 51 lines · Andrew Voznytsa
# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): no If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0) Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver lm85' (already loaded), chip type lm85' Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
Quoted 4 lines

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Here it is. I'd notice that I used 2.6.23-gentoo-r3 kernel with builtin

lm85

Quoted 2 lines

driver. If you need I can easily build any other kernel with any drivers/etc.

Ah yes, that explains why the SCH5027 is not detected here. If you have the time and care about it you can rebuild a kernel without the builtin lm85 and rerun the attached sensors-detect. It should then suggest the dme1737 driver for your chip. Anyways, I tested the modified script with the dump file that you provided and the i2c-stub driver so I'm confident it works correctly. I'll submit a patch for sensors-detect shortly...

...juerg

Quoted 67 lines

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
Quoted 40 lines

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 31 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 6:08 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Of course - works perfectly. It said

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an I2C device. Can you post the complete log?

Quoted 3 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if all

fans

Quoted 15 lines
Quoted 15 lines

are

Quoted 1 line

monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which is part of the kernel, not lm-sensors.

...juerg

Quoted 6 lines

Many thanks,
Andrew Voznytsa

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID

0x8902

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

(was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

On Jan 18, 2008 7:25 AM, Andrew Voznytsa

<[email protected]>

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines · wrote:

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings

on

Quoted 13 lines
Quoted 13 lines

the

Quoted 4 lines
Quoted 4 lines

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product

picture

Quoted 7 lines
Quoted 7 lines

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE

connector.

Quoted 2 lines
Quoted 2 lines

It

Quoted 1 line
Quoted 1 line

should

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D,

might

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should be

SMSC

Quoted 20 lines
Quoted 20 lines

SC-

Quoted 19 lines
Quoted 19 lines

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the

datasheet

Quoted 9 lines
Quoted 9 lines

for

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it looks

like

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027 and

EMC6D10x

Quoted 2 lines
Quoted 2 lines

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently. In

your

Quoted 3 lines
Quoted 3 lines

case,

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect suggests

the

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more

appropriate.

Quoted 2 lines
Quoted 2 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over the

next

Quoted 2 lines
Quoted 2 lines

couple

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

of days to confirm my theory. In the meantime, you can try

the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737

force=0,0x2e)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

3) post the dme1737-related messages in /var/log/messages

to

Quoted 7 lines
Quoted 7 lines

the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-

IO

Quoted 5 lines
Quoted 5 lines

for

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the

SCH5027

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features:

pwm3=yes,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available

once

Quoted 5 lines
Quoted 5 lines

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip

at

Quoted 6 lines
Quoted 6 lines

0x2e

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you won't

see

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see RPMs

for

Quoted 5 lines
Quoted 5 lines

all

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans,

just

Quoted 5 lines
Quoted 5 lines

like

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are

connected

Quoted 5 lines
Quoted 5 lines

as

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for

fans1, 5

Quoted 3 lines
Quoted 3 lines

and

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to control

RPMs

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

itself,

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are

indeed

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

compatible, I'll fix the dme1737 driver to support the

sch5027. I

Quoted 20 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

don't have access to a test machine until next week, so it has

to

Quoted 5 lines
Quoted 5 lines

wait

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

until then.

Just let me know if I can help with testing - I can't give

access to

Quoted 12 lines
Quoted 10 lines

my

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#19 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Andrew,

Can you please give the attached driver a try? It should recognize your chip properly.
Please send the relevant output of /var/log/syslog and 'ls -l /sys/class/hwmon/hwmon*/device/' to the list.

Thanks
...juerg

Quoted 180 lines · Andrew Voznytsa

Hi Juerg,

It is easy (around 1 min to compile kernel, so why not?). New output is below. Quick summary - works as you said.

# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e

Probing for `Myson MTP008'...                               No
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM78-J'...              No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `National Semiconductor LM85 or LM96000'...     No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'...        No
Probing for `Analog Devices ADT7462'...                     No
Probing for `Analog Devices ADT7467 or ADT7468'...          No
Probing for `Analog Devices ADT7470'...                     No
Probing for `Analog Devices ADT7473'...                     No
Probing for `Analog Devices ADT7475'...                     No
Probing for `Analog Devices ADT7476'...                     No
Probing for `Andigilog aSC7611'...                          No
Probing for `Andigilog aSC7621'...                          No
Probing for `National Semiconductor LM87'...                No
Probing for `National Semiconductor LM93'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83792D'...                            No
Probing for `Winbond W83793R/G'...                          No
Probing for `Winbond W83791SD'...                           No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG'...                          No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Winbond W83L786NR/NG/R/G'...                   No
Probing for `Winbond W83L785TS-S'...                        No
Probing for `Analog Devices ADM9240'...                     No
Probing for `Dallas Semiconductor DS1780'...                No
Probing for `National Semiconductor LM81'...                No
Probing for `Analog Devices ADM1026'...                     No
Probing for `Analog Devices ADM1025'...                     No
Probing for `Analog Devices ADM1029'...                     No
Probing for `Analog Devices ADM1030'...                     No
Probing for `Analog Devices ADM1031'...                     No
Probing for `Analog Devices ADM1022'...                     No
Probing for `Texas Instruments THMC50'...                   No
Probing for `Analog Devices ADM1028'...                     No
Probing for `ITE IT8712F'...                                No
Probing for `SMSC DME1737'...                               No
Probing for `SMSC SCH5027D-NW'...                           Success!
    (confidence 6, driver `dme1737')
Probing for `Fintek F75373S/SG'...                          No
Probing for `Fintek F75375S/SP'...                          No
Probing for `Fintek F75387SG/RG'...                         No
Probing for `Analog Devices ADM1024'...                     No
Probing for `Winbond W83791D'...                            No

Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `dme1737' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC SCH5027D-NW' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe dme1737
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
Quoted 413 lines

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 400 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 8:20 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 51 lines · Andrew Voznytsa
# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): no If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0) Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver lm85' (already loaded), chip type lm85' Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
Quoted 4 lines

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Here it is. I'd notice that I used 2.6.23-gentoo-r3 kernel with builtin

lm85

Quoted 2 lines

driver. If you need I can easily build any other kernel with any drivers/etc.

Ah yes, that explains why the SCH5027 is not detected here. If you have the time and care about it you can rebuild a kernel without the builtin lm85 and rerun the attached sensors-detect. It should then suggest the dme1737 driver for your chip. Anyways, I tested the modified script with the dump file that you provided and the i2c-stub driver so I'm confident it works correctly. I'll submit a patch for sensors-detect shortly...

...juerg

Quoted 67 lines

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
Quoted 40 lines

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 31 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 6:08 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 9 lines · Andrew Voznytsa

Hi Juerg,

Of course - works perfectly. It said

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an I2C device. Can you post the complete log?

Quoted 3 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if all

fans

Quoted 15 lines
Quoted 15 lines

are

Quoted 1 line

monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which is part of the kernel, not lm-sensors.

...juerg

Quoted 6 lines

Many thanks,
Andrew Voznytsa

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID

0x8902

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

(was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It should correctly identify the SCH5027.

...juerg

On Jan 18, 2008 7:25 AM, Andrew Voznytsa

<[email protected]>

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines · wrote:

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the markings

on

Quoted 13 lines
Quoted 13 lines

the

Quoted 4 lines
Quoted 4 lines

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the product

picture

Quoted 7 lines
Quoted 7 lines

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the IDE

connector.

Quoted 2 lines
Quoted 2 lines

It

Quoted 1 line
Quoted 1 line

should

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure that D,

might

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should be

SMSC

Quoted 20 lines
Quoted 20 lines

SC-

Quoted 19 lines
Quoted 19 lines

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the

datasheet

Quoted 9 lines
Quoted 9 lines

for

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it looks

like

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027 and

EMC6D10x

Quoted 2 lines
Quoted 2 lines

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently. In

your

Quoted 3 lines
Quoted 3 lines

case,

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect suggests

the

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more

appropriate.

Quoted 2 lines
Quoted 2 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over the

next

Quoted 2 lines
Quoted 2 lines

couple

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

of days to confirm my theory. In the meantime, you can try

the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737

force=0,0x2e)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

3) post the dme1737-related messages in /var/log/messages

to

Quoted 7 lines
Quoted 7 lines

the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query Super-

IO

Quoted 5 lines
Quoted 5 lines

for

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the

SCH5027

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Super-IO so it can't determine if fans 5&6 and PWMs 5&6 are configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features:

pwm3=yes,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

If the BIOS shows 6 fans, fans 5&6 should become available

once

Quoted 5 lines
Quoted 5 lines

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737 chip

at

Quoted 6 lines
Quoted 6 lines

0x2e

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you won't

see

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see RPMs

for

Quoted 5 lines
Quoted 5 lines

all

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans,

just

Quoted 5 lines
Quoted 5 lines

like

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are

connected

Quoted 5 lines
Quoted 5 lines

as

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for

fans1, 5

Quoted 3 lines
Quoted 3 lines

and

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to control

RPMs

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

itself,

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips are

indeed

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

compatible, I'll fix the dme1737 driver to support the

sch5027. I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

don't have access to a test machine until next week, so it has

to

Quoted 5 lines
Quoted 5 lines

wait

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

until then.

Just let me know if I can help with testing - I can't give

access to

Quoted 12 lines
Quoted 10 lines

my

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#20 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

In short - it works! Relevant outputs are below. Just a few questions - would you recommend to use this code in production system (as for me looked like simplified version of previous driver, looks like clean and nice, but is it stable enough)? Perhaps stupid question but is there any kind of 'WHQL' for linux kernel development?

Syslog output:

Feb  5 14:04:36 farm dme1737 0-002e: Found a SCH5027 chip at 0x2e (rev
0x69).
Feb  5 14:04:36 farm dme1737 0-002e: Optional features: pwm3=yes, pwm5=no,

pwm6=no, fan3=yes, fan4=yes, fan5=yes, fan6=yes.

Sensors output:

sch5027-i2c-0-2e

Adapter: SMBus I801 adapter at 3000
in0:         +4.60 V  (min =  +0.00 V, max =  +6.64 V)
in1:         +1.14 V  (min =  +0.00 V, max =  +2.99 V)
in2:         +3.37 V  (min =  +0.00 V, max =  +4.38 V)
in3:         +1.53 V  (min =  +0.00 V, max =  +6.64 V)
in4:        +12.87 V  (min =  +0.00 V, max = +15.94 V)
in5:         +3.29 V  (min =  +0.00 V, max =  +4.38 V)
in6:         +3.14 V  (min =  +0.00 V, max =  +4.38 V)
fan1:        885 RPM  (min =  720 RPM)
fan2:          0 RPM  (min =  720 RPM)  ALARM
fan3:          0 RPM  (min =  720 RPM)  ALARM
fan4:          0 RPM  (min =  720 RPM)  ALARM
fan5:       2040 RPM  (min =  720 RPM)
fan6:          0 RPM  (min =  720 RPM)  ALARM
temp1:       -56.0 C  (low  = -127.0 C, high = +127.0 C)
temp2:       +39.4 C  (low  = -127.0 C, high = +127.0 C)
temp3:       +36.2 C  (low  = -127.0 C, high = +127.0 C)
cpu0_vid:   +0.000 V

(fan1 - CPU, fan5 - chassis, temp1 - temperature margin in case of CPU supporting 'PECI' feature (negative value is ok), or CPU temperature (usually positive number), temp2 - motherboard, temp3 - dimm).

ls -l /sys/class/hwmon/hwmon*/device/ output:

/sys/class/hwmon/hwmon0/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon1/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon2/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon3/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon4/device/:
total 0
-r--r--r-- 1 root root 4096 Feb 5 14:05 cpu0_vid
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../../../../bus/i2c/drivers/dme1737

-r--r--r-- 1 root root 4096 Feb  5 14:05 fan1_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan1_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan1_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan1_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan2_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan2_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan2_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan2_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan3_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan3_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan3_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan3_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan4_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan4_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan4_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan4_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan5_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan5_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan5_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan5_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan6_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan6_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan6_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan6_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in0_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in0_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in0_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in0_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in1_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in1_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in1_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in1_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in2_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in2_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in2_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in2_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in3_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in3_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in3_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in3_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in4_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in4_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in4_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in4_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in5_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in5_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in5_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in5_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in6_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in6_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in6_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in6_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm1
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_auto_channels_zone
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_auto_point1_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm1_auto_point2_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm1_auto_pwm_min
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_enable
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_freq
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_ramp_rate
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm2
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_auto_channels_zone
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_auto_point1_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm2_auto_point2_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm2_auto_pwm_min
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_enable
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_freq
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_ramp_rate
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm3
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_auto_channels_zone
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_auto_point1_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm3_auto_point2_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm3_auto_pwm_min
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_enable
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_freq
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_ramp_rate
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem ->
../../../../../../bus/i2c
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_fault
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp1_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp1_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp2_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp2_fault
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp2_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp2_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp2_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp3_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp3_fault
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp3_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp3_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp3_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 uevent
-rw-r--r-- 1 root root 4096 Feb  5 14:05 vrm
-r--r--r-- 1 root root 4096 Feb  5 14:05 zone1_auto_channels_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point1_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point1_temp_hyst
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point2_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point3_temp
-r--r--r-- 1 root root 4096 Feb  5 14:05 zone2_auto_channels_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point1_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point1_temp_hyst
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point2_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point3_temp
-r--r--r-- 1 root root 4096 Feb  5 14:05 zone3_auto_channels_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point1_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point1_temp_hyst
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point2_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point3_temp

Many thanks,
Andrew Voznytsa

Quoted 616 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Tuesday, February 05, 2008 9:32 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Andrew,

Can you please give the attached driver a try? It should recognize your chip properly.
Please send the relevant output of /var/log/syslog and 'ls -l /sys/class/hwmon/hwmon*/device/' to the list.

Thanks
...juerg

Quoted 180 lines · Andrew Voznytsa

Hi Juerg,

It is easy (around 1 min to compile kernel, so why not?). New output is below. Quick summary - works as you said.

# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e

Probing for `Myson MTP008'...                               No
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM78-J'...              No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `National Semiconductor LM85 or LM96000'...     No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'...        No
Probing for `Analog Devices ADT7462'...                     No
Probing for `Analog Devices ADT7467 or ADT7468'...          No
Probing for `Analog Devices ADT7470'...                     No
Probing for `Analog Devices ADT7473'...                     No
Probing for `Analog Devices ADT7475'...                     No
Probing for `Analog Devices ADT7476'...                     No
Probing for `Andigilog aSC7611'...                          No
Probing for `Andigilog aSC7621'...                          No
Probing for `National Semiconductor LM87'...                No
Probing for `National Semiconductor LM93'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83792D'...                            No
Probing for `Winbond W83793R/G'...                          No
Probing for `Winbond W83791SD'...                           No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG'...                          No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Winbond W83L786NR/NG/R/G'...                   No
Probing for `Winbond W83L785TS-S'...                        No
Probing for `Analog Devices ADM9240'...                     No
Probing for `Dallas Semiconductor DS1780'...                No
Probing for `National Semiconductor LM81'...                No
Probing for `Analog Devices ADM1026'...                     No
Probing for `Analog Devices ADM1025'...                     No
Probing for `Analog Devices ADM1029'...                     No
Probing for `Analog Devices ADM1030'...                     No
Probing for `Analog Devices ADM1031'...                     No
Probing for `Analog Devices ADM1022'...                     No
Probing for `Texas Instruments THMC50'...                   No
Probing for `Analog Devices ADM1028'...                     No
Probing for `ITE IT8712F'...                                No
Probing for `SMSC DME1737'...                               No
Probing for `SMSC SCH5027D-NW'...                           Success!
    (confidence 6, driver `dme1737')
Probing for `Fintek F75373S/SG'...                          No
Probing for `Fintek F75375S/SP'...                          No
Probing for `Fintek F75387SG/RG'...                         No
Probing for `Analog Devices ADM1024'...                     No
Probing for `Winbond W83791D'...                            No

Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `dme1737' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC SCH5027D-NW' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe dme1737
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
Quoted 43 lines

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 32 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 8:20 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 18 lines · Andrew Voznytsa
# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): no If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips

may

Quoted 36 lines
Quoted 36 lines
Quoted 36 lines

be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0) Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver lm85' (already loaded), chip type lm85' Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Quoted 1 line
Quoted 1 line
Quoted 1 line

Here it is. I'd notice that I used 2.6.23-gentoo-r3 kernel with

builtin

Quoted 12 lines
Quoted 12 lines

lm85

Quoted 2 lines

driver. If you need I can easily build any other kernel with any drivers/etc.

Ah yes, that explains why the SCH5027 is not detected here. If you have the time and care about it you can rebuild a kernel without the builtin lm85 and rerun the attached sensors-detect. It should then suggest the dme1737 driver for your chip. Anyways, I tested the modified script with the dump file that you provided and the i2c-stub driver so I'm confident it works correctly. I'll submit a patch for sensors-detect shortly...

Quoted 5 lines
Quoted 5 lines

...juerg

Quoted 2 lines

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe

though.

Quoted 1 line
Quoted 1 line
Quoted 1 line

Yes, you do have ISA I/O ports even if you do not have any ISA

slots!

Quoted 73 lines
Quoted 73 lines
Quoted 73 lines

Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 6:08 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID

0x8902

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

(was: lm85 in Intel S3000AH case)

Hi Andrew,

On Jan 30, 2008 5:18 AM, Andrew Voznytsa

<[email protected]>

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · wrote:

Hi Juerg,

Of course - works perfectly. It said

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an

I2C

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

device. Can you post the complete log?

Quoted 3 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if

all

Quoted 5 lines
Quoted 5 lines

fans

Quoted 4 lines
Quoted 4 lines

are

Quoted 1 line

monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which

is

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

part of the kernel, not lm-sensors.

...juerg

Quoted 12 lines

Many thanks,
Andrew Voznytsa

Quoted 6 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID

Quoted 6 lines
Quoted 6 lines

0x8902

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

(was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It

should

Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

correctly identify the SCH5027.

...juerg

On Jan 18, 2008 7:25 AM, Andrew Voznytsa

<[email protected]>

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line · wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the

markings

Quoted 6 lines
Quoted 6 lines

on

Quoted 5 lines
Quoted 5 lines

the

Quoted 4 lines
Quoted 4 lines

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line
Quoted 1 line

we know what we're dealing with? From the

product

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

picture

Quoted 4 lines
Quoted 4 lines

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line
Quoted 1 line

it's the chip in the QFP package close to the

IDE

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

connector.

Quoted 5 lines
Quoted 5 lines

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines
Quoted 3 lines

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure

that D,

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

might

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should

be

Quoted 21 lines
Quoted 21 lines

SMSC

Quoted 20 lines
Quoted 20 lines

SC-

Quoted 19 lines
Quoted 19 lines

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 4 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- 30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the

datasheet

Quoted 3 lines
Quoted 3 lines

for

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it

looks

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

like

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027

and

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

EMC6D10x

Quoted 2 lines
Quoted 2 lines

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently.

In

Quoted 4 lines
Quoted 4 lines

your

Quoted 3 lines
Quoted 3 lines

case,

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect

suggests

Quoted 6 lines
Quoted 6 lines

the

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more

appropriate.

Quoted 2 lines
Quoted 2 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over

the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

next

Quoted 2 lines
Quoted 2 lines

couple

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

of days to confirm my theory. In the meantime, you can

try

Quoted 6 lines
Quoted 6 lines

the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737

force=0,0x2e)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

3) post the dme1737-related messages in

/var/log/messages

Quoted 8 lines
Quoted 8 lines

to

Quoted 7 lines
Quoted 7 lines

the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query

Super-

Quoted 8 lines
Quoted 8 lines

IO

Quoted 5 lines
Quoted 5 lines

for

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the

SCH5027

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Super-IO so it can't determine if fans 5&6 and PWMs 5&6

are

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features:

pwm3=yes,

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

If the BIOS shows 6 fans, fans 5&6 should become available

once

Quoted 5 lines
Quoted 5 lines

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737

chip

Quoted 7 lines
Quoted 7 lines

at

Quoted 6 lines
Quoted 6 lines

0x2e

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you

won't

Quoted 3 lines
Quoted 3 lines

see

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see

RPMs

Quoted 14 lines
Quoted 14 lines

for

Quoted 5 lines
Quoted 5 lines

all

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans,

just

Quoted 5 lines
Quoted 5 lines

like

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are

connected

Quoted 1 line
Quoted 1 line

as

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for

fans1, 5

Quoted 3 lines
Quoted 3 lines

and

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to

control

Quoted 4 lines
Quoted 4 lines

RPMs

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

itself,

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Quoted 28 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Again, I'll take a look at the datasheets and if the chips

are

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

indeed

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

compatible, I'll fix the dme1737 driver to support the

sch5027. I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

don't have access to a test machine until next week, so it

has

Quoted 21 lines
Quoted 19 lines

to

Quoted 5 lines
Quoted 5 lines

wait

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

until then.

Just let me know if I can help with testing - I can't give

access to

Quoted 12 lines
Quoted 10 lines

my

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#21 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Andrew,

Quoted 3 lines · Andrew Voznytsa

Hi Juerg,

In short - it works!

Very good, thanks for testing.

Quoted 4 lines

Relevant outputs are below. Just a few questions -
would you recommend to use this code in production system (as for me looked like simplified version of previous driver, looks like clean and nice, but is it stable enough)?

The dme1737 driver is fairly new so it probably hasn't gone through a lot of user testing. It's likely that there are bugs. However, if you don't do any fancy things like setting temp limits or programming the fan controller, the driver will *not* write to the chip but only read registers and export their values. If the HW is not broken (i.e., it's always safe to read registers) and there is no interference with other SW accessing the same chip (like ACPI) that could cause problems, it should be safe to use it.

Quoted 2 lines

Perhaps stupid question but is there any kind of
'WHQL' for linux kernel development?

Err, no. You just did all the QA required :-) I'll submit a patch in the next couple of days which needs to be reviewed by a fellow driver author/maintainer and then it's ready for inclusion in the mainline kernel. That's all it takes.
Feel free to put the driver through some stress testing and report any issue you find.

...juerg

Quoted 210 lines

Syslog output:

Feb  5 14:04:36 farm dme1737 0-002e: Found a SCH5027 chip at 0x2e (rev
0x69).
Feb  5 14:04:36 farm dme1737 0-002e: Optional features: pwm3=yes, pwm5=no,

pwm6=no, fan3=yes, fan4=yes, fan5=yes, fan6=yes.

Sensors output:

sch5027-i2c-0-2e

Adapter: SMBus I801 adapter at 3000
in0:         +4.60 V  (min =  +0.00 V, max =  +6.64 V)
in1:         +1.14 V  (min =  +0.00 V, max =  +2.99 V)
in2:         +3.37 V  (min =  +0.00 V, max =  +4.38 V)
in3:         +1.53 V  (min =  +0.00 V, max =  +6.64 V)
in4:        +12.87 V  (min =  +0.00 V, max = +15.94 V)
in5:         +3.29 V  (min =  +0.00 V, max =  +4.38 V)
in6:         +3.14 V  (min =  +0.00 V, max =  +4.38 V)
fan1:        885 RPM  (min =  720 RPM)
fan2:          0 RPM  (min =  720 RPM)  ALARM
fan3:          0 RPM  (min =  720 RPM)  ALARM
fan4:          0 RPM  (min =  720 RPM)  ALARM
fan5:       2040 RPM  (min =  720 RPM)
fan6:          0 RPM  (min =  720 RPM)  ALARM
temp1:       -56.0 C  (low  = -127.0 C, high = +127.0 C)
temp2:       +39.4 C  (low  = -127.0 C, high = +127.0 C)
temp3:       +36.2 C  (low  = -127.0 C, high = +127.0 C)
cpu0_vid:   +0.000 V

(fan1 - CPU, fan5 - chassis, temp1 - temperature margin in case of CPU supporting 'PECI' feature (negative value is ok), or CPU temperature (usually positive number), temp2 - motherboard, temp3 - dimm).

ls -l /sys/class/hwmon/hwmon*/device/ output:

/sys/class/hwmon/hwmon0/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

(quoted diff) +0 -2
-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
(quoted diff) +0 -5
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon1/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

(quoted diff) +0 -2
-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
(quoted diff) +0 -5
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon2/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

(quoted diff) +0 -2
-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
(quoted diff) +0 -5
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon3/device/:
total 0
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../bus/platform/drivers/coretemp

(quoted diff) +0 -2
-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name
drwxr-xr-x 2 root root    0 Feb  5 14:05 power
lrwxrwxrwx 1 root root    0 Feb  5 14:05 subsystem -> ../../../bus/platform
(quoted diff) +0 -5
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_crit_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_label
-rw-r--r-- 1 root root 4096 Feb  5 14:01 uevent

/sys/class/hwmon/hwmon4/device/:
total 0
-r--r--r-- 1 root root 4096 Feb 5 14:05 cpu0_vid
lrwxrwxrwx 1 root root 0 Feb 5 14:05 driver ->
../../../../../../bus/i2c/drivers/dme1737

(quoted diff) +0 -54
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan1_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan1_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan1_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan1_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan2_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan2_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan2_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan2_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan3_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan3_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan3_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan3_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan4_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan4_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan4_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan4_type
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan5_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan5_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan5_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan5_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan6_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 fan6_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan6_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 fan6_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in0_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in0_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in0_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in0_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in1_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in1_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in1_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in1_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in2_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in2_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in2_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in2_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in3_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in3_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in3_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in3_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in4_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in4_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in4_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in4_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in5_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in5_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in5_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in5_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 in6_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 in6_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in6_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 in6_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 modalias
-r--r--r-- 1 root root 4096 Feb  5 14:05 name

drwxr-xr-x 2 root root 0 Feb 5 14:05 power

(quoted diff) +0 -24
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm1
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_auto_channels_zone
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_auto_point1_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm1_auto_point2_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm1_auto_pwm_min
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_enable
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_freq
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm1_ramp_rate
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm2
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_auto_channels_zone
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_auto_point1_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm2_auto_point2_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm2_auto_pwm_min
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_enable
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_freq
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm2_ramp_rate
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm3
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_auto_channels_zone
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_auto_point1_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm3_auto_point2_pwm
-r--r--r-- 1 root root 4096 Feb  5 14:05 pwm3_auto_pwm_min
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_enable
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_freq
-rw-r--r-- 1 root root 4096 Feb  5 14:04 pwm3_ramp_rate

lrwxrwxrwx 1 root root 0 Feb 5 14:05 subsystem ->
../../../../../../bus/i2c

(quoted diff) +0 -32
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_fault
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp1_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp1_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp1_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp2_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp2_fault
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp2_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp2_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp2_min
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp3_alarm
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp3_fault
-r--r--r-- 1 root root 4096 Feb  5 14:05 temp3_input
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp3_max
-rw-r--r-- 1 root root 4096 Feb  5 14:05 temp3_min
-rw-r--r-- 1 root root 4096 Feb  5 14:05 uevent
-rw-r--r-- 1 root root 4096 Feb  5 14:05 vrm
-r--r--r-- 1 root root 4096 Feb  5 14:05 zone1_auto_channels_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point1_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point1_temp_hyst
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point2_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone1_auto_point3_temp
-r--r--r-- 1 root root 4096 Feb  5 14:05 zone2_auto_channels_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point1_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point1_temp_hyst
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point2_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone2_auto_point3_temp
-r--r--r-- 1 root root 4096 Feb  5 14:05 zone3_auto_channels_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point1_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point1_temp_hyst
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point2_temp
-rw-r--r-- 1 root root 4096 Feb  5 14:04 zone3_auto_point3_temp
Quoted 651 lines

Many thanks,
Andrew Voznytsa

Quoted 645 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Tuesday, February 05, 2008 9:32 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Andrew,

Can you please give the attached driver a try? It should recognize your chip properly.
Please send the relevant output of /var/log/syslog and 'ls -l /sys/class/hwmon/hwmon*/device/' to the list.

Thanks
...juerg

Quoted 180 lines · Andrew Voznytsa

Hi Juerg,

It is easy (around 1 min to compile kernel, so why not?). New output is below. Quick summary - works as you said.

# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e

Probing for `Myson MTP008'...                               No
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM78-J'...              No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `National Semiconductor LM85 or LM96000'...     No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'...        No
Probing for `Analog Devices ADT7462'...                     No
Probing for `Analog Devices ADT7467 or ADT7468'...          No
Probing for `Analog Devices ADT7470'...                     No
Probing for `Analog Devices ADT7473'...                     No
Probing for `Analog Devices ADT7475'...                     No
Probing for `Analog Devices ADT7476'...                     No
Probing for `Andigilog aSC7611'...                          No
Probing for `Andigilog aSC7621'...                          No
Probing for `National Semiconductor LM87'...                No
Probing for `National Semiconductor LM93'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83792D'...                            No
Probing for `Winbond W83793R/G'...                          No
Probing for `Winbond W83791SD'...                           No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG'...                          No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Winbond W83L786NR/NG/R/G'...                   No
Probing for `Winbond W83L785TS-S'...                        No
Probing for `Analog Devices ADM9240'...                     No
Probing for `Dallas Semiconductor DS1780'...                No
Probing for `National Semiconductor LM81'...                No
Probing for `Analog Devices ADM1026'...                     No
Probing for `Analog Devices ADM1025'...                     No
Probing for `Analog Devices ADM1029'...                     No
Probing for `Analog Devices ADM1030'...                     No
Probing for `Analog Devices ADM1031'...                     No
Probing for `Analog Devices ADM1022'...                     No
Probing for `Texas Instruments THMC50'...                   No
Probing for `Analog Devices ADM1028'...                     No
Probing for `ITE IT8712F'...                                No
Probing for `SMSC DME1737'...                               No
Probing for `SMSC SCH5027D-NW'...                           Success!
    (confidence 6, driver `dme1737')
Probing for `Fintek F75373S/SG'...                          No
Probing for `Fintek F75375S/SP'...                          No
Probing for `Fintek F75387SG/RG'...                         No
Probing for `Analog Devices ADM1024'...                     No
Probing for `Winbond W83791D'...                            No

Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `dme1737' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC SCH5027D-NW' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe dme1737
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----
Quoted 43 lines

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 32 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 8:20 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was: lm85 in Intel S3000AH case)

Hi Andrew,

Quoted 18 lines · Andrew Voznytsa
# sensors-detect revision 5108 (2008-01-22 04:22:47 -0800)

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn. Load `i2c-i801' (say NO if built into your kernel)? (YES/no): no If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips

may

Quoted 36 lines
Quoted 36 lines
Quoted 36 lines

be double detected; we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 3000 (i2c-0) Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver lm85' (already loaded), chip type lm85' Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Client found at address 0x50

Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes

(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No

Quoted 1 line
Quoted 1 line
Quoted 1 line

Here it is. I'd notice that I used 2.6.23-gentoo-r3 kernel with

builtin

Quoted 12 lines
Quoted 12 lines

lm85

Quoted 2 lines

driver. If you need I can easily build any other kernel with any drivers/etc.

Ah yes, that explains why the SCH5027 is not detected here. If you have the time and care about it you can rebuild a kernel without the builtin lm85 and rerun the attached sensors-detect. It should then suggest the dme1737 driver for your chip. Anyways, I tested the modified script with the dump file that you provided and the i2c-stub driver so I'm confident it works correctly. I'll submit a patch for sensors-detect shortly...

Quoted 5 lines
Quoted 5 lines

...juerg

Quoted 2 lines

Some chips are also accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe

though.

Quoted 1 line
Quoted 1 line
Quoted 1 line

Yes, you do have ISA I/O ports even if you do not have any ISA

slots!

Quoted 73 lines
Quoted 73 lines
Quoted 73 lines

Do you want to scan the ISA I/O ports? (YES/no):

Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no):

AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         Success!

(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 3000'

    Busdriver `i2c-i801', I2C address 0x2e
    Chip `lm85' (confidence: 6)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO):
To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local):

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# Warning: the required module coretemp is not currently installed

# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe coretemp
/usr/bin/sensors -s
#----cut here----

If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded.

Best regards,
Andrew Voznytsa

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]

Sent: Wednesday, January 30, 2008 6:08 PM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID

0x8902

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

(was: lm85 in Intel S3000AH case)

Hi Andrew,

On Jan 30, 2008 5:18 AM, Andrew Voznytsa

<[email protected]>

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · wrote:

Hi Juerg,

Of course - works perfectly. It said

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

[..]
Trying family `SMSC'... Yes
Found `SMSC SCH5027D-NW Super IO'
(hardware monitoring capabilities accessible via SMBus only)
[..]

There should be another instance where the SMSC is detected as an

I2C

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

device. Can you post the complete log?

Quoted 3 lines

If I can do anything else - just let me know.

Should I try some lm-sensors's svn branch/revision to test if

all

Quoted 5 lines
Quoted 5 lines

fans

Quoted 4 lines
Quoted 4 lines

are

Quoted 1 line

monitored now? If there is such - could you send me URL?

That won't help. I need to update the dme1737 driver first which

is

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

part of the kernel, not lm-sensors.

...juerg

Quoted 12 lines

Many thanks,
Andrew Voznytsa

Quoted 6 lines

-----Original Message-----
From: Juerg Haefliger [mailto:[email protected]]
Sent: Wednesday, January 30, 2008 7:22 AM
To: Andrew Voznytsa
Cc: [email protected]
Subject: Re: [lm-sensors] SMSC Super I/O: unknown chip with ID

Quoted 6 lines
Quoted 6 lines

0x8902

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

(was: lm85 in Intel S3000AH case)

Hi Andrew,

Could you run the attached script and post the output? It

should

Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

correctly identify the SCH5027.

...juerg

On Jan 18, 2008 7:25 AM, Andrew Voznytsa

<[email protected]>

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line · wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Hi Juerg,

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

Trying family `SMSC'...

Yes

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Found unknown chip with ID 0x8902

This is indeed unknown. Can you check the

markings

Quoted 6 lines
Quoted 6 lines

on

Quoted 5 lines
Quoted 5 lines

the

Quoted 4 lines
Quoted 4 lines

chip

Quoted 3 lines
Quoted 3 lines

so

Quoted 2 lines
Quoted 2 lines

that

Quoted 1 line

we know what we're dealing with? From the

product

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

picture

Quoted 4 lines
Quoted 4 lines

my

Quoted 3 lines
Quoted 3 lines

guess

Quoted 2 lines
Quoted 2 lines

is

Quoted 1 line

it's the chip in the QFP package close to the

IDE

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

connector.

Quoted 5 lines
Quoted 5 lines

It

Quoted 4 lines
Quoted 4 lines

should

Quoted 3 lines

read something like SMSC xyz.

There is chip marked SMSC SCH-5027D(not sure

that D,

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

might

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines

0)-NW

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

According to spec which comes with MB it should

be

Quoted 21 lines
Quoted 21 lines

SMSC

Quoted 20 lines
Quoted 20 lines

SC-

Quoted 19 lines
Quoted 19 lines

5027D

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines

Can you run
i2cdetect -y 0

Of course - here is output:

0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU --
30: 30 31 32 33 -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- --
60: -- 61 -- 63 64 -- -- -- -- 69 -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

OK, I figured it out, I believe :-) I received the

datasheet

Quoted 3 lines
Quoted 3 lines

for

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SCH5027 from SMSC and after a quick glance at it, it

looks

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

like

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

hardware monitoring features of the DME1737, SCH5027

and

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

EMC6D10x

Quoted 2 lines
Quoted 2 lines

are

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

identical but they advertise themselves differently.

In

Quoted 4 lines
Quoted 4 lines

your

Quoted 3 lines
Quoted 3 lines

case,

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

chip is detected as a EMC6D10x and sensors-detect

suggests

Quoted 6 lines
Quoted 6 lines

the

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

lm85

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

driver. However, I believe the dme1737 driver is more

appropriate.

Quoted 2 lines
Quoted 2 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

will take a closer look at the various datasheets over

the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

next

Quoted 2 lines
Quoted 2 lines

couple

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

of days to confirm my theory. In the meantime, you can

try

Quoted 6 lines
Quoted 6 lines

the

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

following:
1) remove the lm85 driver (rmmod lm85)
2) force the dme1737 driver (modprobe dme1737

force=0,0x2e)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

3) post the dme1737-related messages in

/var/log/messages

Quoted 8 lines
Quoted 8 lines

to

Quoted 7 lines
Quoted 7 lines

the

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

mailing

Quoted 5 lines
Quoted 1 line

list

Here is output:

Jan 18 16:09:12 farm dme1737 0-002e: Failed to query

Super-

Quoted 8 lines
Quoted 8 lines

IO

Quoted 5 lines
Quoted 5 lines

for

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

optional

Quoted 1 line

features.

Ah yes, the dme1737 driver doesn't know anything about the

SCH5027

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Super-IO so it can't determine if fans 5&6 and PWMs 5&6

are

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

configured.

Quoted 1 line
Jan 18 16:09:12 farm dme1737 0-002e: Optional features:

pwm3=yes,

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

pwm5=no,

Quoted 1 line

pwm6=no, fan3=yes, fan4=yes, fan5=no, fan6=no.

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

If the BIOS shows 6 fans, fans 5&6 should become available

once

Quoted 5 lines
Quoted 5 lines

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

driver is fixed to recognize the SCH5027.

Quoted 1 line
Jan 18 16:09:12 farm i2c-adapter i2c-0: Found a DME1737

chip

Quoted 7 lines
Quoted 7 lines

at

Quoted 6 lines
Quoted 6 lines

0x2e

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

(rev

Quoted 4 lines

0x00)

Quoted 2 lines

Note that the SCH5027 only supports 4 fans, so you

won't

Quoted 3 lines
Quoted 3 lines

see

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

fan5&6.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How many fans do you have in the machine? Can you see

RPMs

Quoted 14 lines
Quoted 14 lines

for

Quoted 5 lines
Quoted 5 lines

all

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

them in the BIOS?

Correction: This is not true. The SCH5027 supports 6 fans,

just

Quoted 5 lines
Quoted 5 lines

like

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

the dme1737.

Quoted 1 line

I've 2 fans - CPU (fan1) and chassis (fan5). They are

connected

Quoted 1 line
Quoted 1 line

as

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Intel's

Quoted 3 lines

manual says.

BIOS shows 6 fans - it shows some (reasonable) RPMs for

fans1, 5

Quoted 3 lines
Quoted 3 lines

and

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

zero

Quoted 1 line

for rest (nothing attached there). BIOS is able to

control

Quoted 5 lines
Quoted 5 lines

RPMs

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

itself,

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

depending on CPU, chassis and DIMM temperature sensors.

Again, I'll take a look at the datasheets and if the chips

are

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

indeed

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

compatible, I'll fix the dme1737 driver to support the

sch5027. I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

don't have access to a test machine until next week, so it

has

Quoted 21 lines
Quoted 19 lines

to

Quoted 5 lines
Quoted 5 lines

wait

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

until then.

Just let me know if I can help with testing - I can't give

access to

Quoted 12 lines
Quoted 10 lines

my

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

S3000AH-based system but definitely can run some tests, etc.

All the best,
Andrew

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#22 lore raw

Re: [lm-sensors] SMSC Super I/O: unknown chip with ID 0x8902 (was:

In reply to Andrew Voznytsa

Hi Juerg,

Quoted 32 lines

Hi Andrew,

Quoted 3 lines · Andrew Voznytsa

Hi Juerg,

In short - it works!

Very good, thanks for testing.

Quoted 2 lines

Relevant outputs are below. Just a few questions -
would you recommend to use this code in production system (as for me

looked

Quoted 1 line

like simplified version of previous driver, looks like clean and nice,

but

Quoted 1 line

is it stable enough)?

The dme1737 driver is fairly new so it probably hasn't gone through a lot of user testing. It's likely that there are bugs. However, if you don't do any fancy things like setting temp limits or programming the fan controller, the driver will *not* write to the chip but only read registers and export their values. If the HW is not broken (i.e., it's always safe to read registers) and there is no interference with other SW accessing the same chip (like ACPI) that could cause problems, it should be safe to use it.

Quoted 2 lines

Perhaps stupid question but is there any kind of
'WHQL' for linux kernel development?

Quoted 6 lines

Err, no. You just did all the QA required :-) I'll submit a patch in the next couple of days which needs to be reviewed by a fellow driver author/maintainer and then it's ready for inclusion in the mainline kernel. That's all it takes.
Feel free to put the driver through some stress testing and report any issue you find.

So ok - I'll setup some monitoring and see how driver works. Many thanks for this feature!

Best regards,
Andrew Voznytsa

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors